#!/usr/bin/env python
# -*- coding:utf-8 -*-

def auth(func):
    def inner():
        print "before"
        temp = func()
        print "after"
        return temp
    return inner

@auth
def fetch_server():
    server_list=['c1','c2','c3']
    return server_list
